package org.dromara.community.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单表(AsOrder)表实体类
 *
 * @author makejava
 * @since 2024-08-05 22:12:50
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AsOrder extends Model<AsOrder> {
    //主键id
    @TableId
    private Long id;
    //关联商品id
    private Long ascommodityId;
    //订单名
    private String orderName;
    //商品图片
    private String url;
    //地址
    private String address;
    //价格
    private Double price;
    //描述
    @TableField("`describe`")
    private String describe;
    //核销期限
    private String verificationDeadline;
    //总价格
    private Double totalPrice;
    //状态（0待支付 1待使用 2待评价 3已完成 4已关闭）
    private Integer state;
    //创建人
    private String createdBy;
    //创建时间
    private Date createdTime;
    //修改者
    private String updatedBy;
    //修改时间
    private Date updatedTime;
    //逻辑删除
    /*@TableLogic*/
    private Long isDelete;
}

